package br.com.kliptus.web.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

@WebListener
public class ApplicationListener implements ServletContextListener {

	public void contextDestroyed(ServletContextEvent servletContextEvent) {
		System.out.println("----------------------------------------------------------------------");
		System.out.println("--> Application terminated with success.........................");
		System.out.println("----------------------------------------------------------------------");
	}

	public void contextInitialized(ServletContextEvent servletContextEvent) {
		System.out.println("----------------------------------------------------------------------");
		System.out.println("--> Application initialized with success.........................");
		System.out.println("----------------------------------------------------------------------");
	}

}